package com.mobisys.live.dao.model;

import com.mobisys.live.util.UUIDUtil;

import java.util.Date;

public class LiveStatistic {
    private String id;

    private String liveId;

    private Integer fps;

    private Integer bps;

    private Double bandwidth;

    private Integer online;

    private Date time;
    public LiveStatistic(){
        this.id= UUIDUtil.getUUID();
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getLiveId() {
        return liveId;
    }

    public void setLiveId(String liveId) {
        this.liveId = liveId == null ? null : liveId.trim();
    }

    public Integer getFps() {
        return fps;
    }

    public void setFps(Integer fps) {
        this.fps = fps;
    }

    public Integer getBps() {
        return bps;
    }

    public void setBps(Integer bps) {
        this.bps = bps;
    }

    public Double getBandwidth() {
        return bandwidth;
    }

    public void setBandwidth(Double bandwidth) {
        this.bandwidth = bandwidth;
    }

    public Integer getOnline() {
        return online;
    }

    public void setOnline(Integer online) {
        this.online = online;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    @Override
    public String toString() {
        return "LiveStatistic{" +
                "id='" + id + '\'' +
                ", liveId='" + liveId + '\'' +
                ", fps=" + fps +
                ", bps=" + bps +
                ", bandwidth=" + bandwidth +
                ", online=" + online +
                ", time=" + time +
                '}';
    }
}